import styled from 'styled-components'
import img from '@img/all.png'
export const StyledFooterWrap = styled.div`
	.operate_add_modal {
		margin-bottom: 30px;
		display: flex;
		justify-content: center;
		.slider {
			width: 6px;
		}
	}
`
export const PrePageIcon = styled.span`
	background: url(${img}) no-repeat scroll -120px -395px;
	height: 30px;
	width: 30px;
	display: inline-block;
	&:hover {
		background-position: -150px -395px;
	}
	&:active {
		background-position: -180px -395px;
	}
`
export const PrePageDisabledIcon = styled.span`
	background: url(${img}) no-repeat scroll -210px -395px;
	height: 30px;
	width: 30px;
	display: inline-block;
`
export const NextPageIcon = styled.span`
	background: url(${img}) no-repeat scroll 0px -395px;
	height: 30px;
	width: 30px;
	margin-left: 20px;
	display: inline-block;
	&:hover {
		background-position: -30px -395px;
	}
	&:active {
		background-position: -60px -395px;
	}
`
export const NextPageDisabledIcon = styled.span`
	background: url(${img}) no-repeat scroll -90px -395px;
	height: 30px;
	width: 30px;
	margin-left: 20px;
	display: inline-block;
`
export const CheckIcon = styled.span`
	background: transparent url(${img}) no-repeat scroll -2px -1671px;
	margin-top: 0px;
	margin-right: 7px;
	cursor: pointer;
	display: inline-block;
	height: 18px;
	overflow: hidden;
	width: 18px;
	&:hover {
		background-position: -20px -1671px;
	}
`
export const CheckedIcon = styled.span`
	background: transparent url(${img}) no-repeat scroll -38px -1671px;
	margin-top: 0px;
	margin-right: 7px;
	cursor: pointer;
	display: inline-block;
	height: 18px;
	overflow: hidden;
	width: 18px;
	&:hover {
		background-position: -56px -1671px;
	}
`
export const CheckDisabledIcon = styled.span`
	background: transparent url(${img}) no-repeat scroll -327px -1671px;
	margin-top: 0px;
	margin-right: 7px;
	cursor: pointer;
	display: inline-block;
	height: 18px;
	overflow: hidden;
	width: 18px;
`
export const StyledWrapBlock = styled.div<{ left: number; width: number; top: number; height: number }>`
	color: #333;
	position: absolute;
	left: ${(props) => props.left + 'px'};
	top: ${(props) => props.top + 'px'};
	width: ${(props) => props.width + 'px'};
	height: ${(props) => props.height + 'px'};
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
`
export const StyledViewWrap = styled.div`
	height: 350px;
	padding-top: 10px;
	.content {
		margin-top: 84px;
		padding: 0;
		display: block;
		.style-list {
			margin: 10px 0;
			height: 130px;
			text-align: center;
			.view-content {
				.bgPreview {
					background-color: #efefef;
					border: 1px solid #cccccc;
					height: 90px;
					position: relative;
					width: 135px;
					margin: 0;
					float: left;
					cursor: pointer;
				}
				.bgPreview.conflict {
					border: 1px solid red;
				}
			}
		}
	}
	.view-li .view-li-check {
		width: 20px;
		height: 100%;
		float: left;
	}
	#tvwallViewSelect .ellipsis {
		width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap; /*强制不换行*/
	}
	#tvwallViewSelect .tv-box-name {
		text-align: center;
		color: #707070;
		position: relative;
		top: 2px;
		left: 0px;
	}
	#tvwallViewSelect .content {
		/*height: 200px;*/
		margin-top: 74px;
		/*width: 720px;*/
		overflow: hidden;
	}
	.pageManager {
		margin-top: 20px;
		text-align: center;
	}
	.tips-wrap {
		text-align: center;
		margin-top: 36px;
		height: 16px;
		color: #d21e1e;
	}
	.view-li {
		display: inline-block;
		margin-left: 14px;
		margin-bottom: 14px;
		width: 158px;
	}
	.view-content {
		width: 138px;
		height: 120px;
		float: left;
	}
	#tvwallViewSelect .bgPreview {
		background-color: #efefef;
		border: 1px solid #cccccc;
		height: 90px;
		position: relative;
		width: 135px;
		margin: 0;
		float: left;
		cursor: pointer;
	}
	#tvwallViewSelect .bgPreview.chnnlConflict {
		border: 1px solid red;
	}
	#tvwallViewSelect .btnBar {
		width: 160px;
		margin: 27px auto 0;
	}
	#tvwallViewSelect .btn {
		display: inline-block;
		margin: 0 5px;
		padding: 0 22px;
		width: 24px;
	}
`
